package com.timbo.service.system.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.timbo.dao.system.SysRoleDao;
import com.timbo.model.system.SysRole;
import com.timbo.service.system.ISysRoleSV;

@Service("sysRoleSV")
public class SysRoleSVImpl implements ISysRoleSV {
	
	@Autowired
	private SysRoleDao<SysRole> sysRoleDao;

	@Override
	public List<SysRole> queryAllRole(SysRole role) {
		
		List<SysRole> roles = sysRoleDao.query(role);
		return roles;
	}
}
